CurApRefNum = 0x900, /*[GLOBAL VAR] Reference number of current application's resource file (word)
refNum of application's resFile [word]*/
CurrentA5 = 0x904, /*[GLOBAL VAR] Address of boundary between application globals and application parameters
current value of A5 [pointer]*/
CurStackBase = 0x908, /*[GLOBAL VAR] Address of base of stack; start of application globals
current stack base [pointer]*/
CurApName = 0x910, /*[GLOBAL VAR] Name of current application (length byte followed by up to 31 characters)
name of application [STRING[31]]*/
LoadTrap = 0x12D, /*[GLOBAL VAR] trap before launch? [byte]*/
SegHiEnable = 0xBB2, /*[GLOBAL VAR] (byte) 0 to disable MoveHHi in LoadSeg*/
/* Window Manager Globals */
WindowList = 0x9D6, /*[GLOBAL VAR] Pointer to first window in window list; 0 if using events but not windows
Z-ordered linked list of windows [pointer]*/
PaintWhite = 0x9DC, /*[GLOBAL VAR] Flag for whether to paint window white before update event (word)
erase newly drawn windows? [word]*/
WMgrPort = 0x9DE, /*[GLOBAL VAR] Pointer to Window Manager port
window manager's grafport [pointer]*/
GrayRgn = 0x9EE, /*[GLOBAL VAR] Handle to region drawn as desktop
rounded gray desk region [handle]*/
CurActivate = 0xA64 /*[GLOBAL VAR] Pointer to window to receive activate event
window slated for activate event [pointer]*/
};
enum {
CurDeactive = 0xA68, /*[GLOBAL VAR] Pointer to window to receive deactivate event
window slated for deactivate event [pointer]*/
DragHook = 0x9F6, /*[GLOBAL VAR] Address of procedure to execute during TrackGoAway, DragWindow, GrowWindow, DragGrayRgn, TrackControl, and DragControl
user hook during dragging [pointer]*/
DeskPattern = 0xA3C, /*[GLOBAL VAR] Pattern with which desktop is painted (8 bytes)
desk pattern [8 bytes]*/
DeskHook = 0xA6C, /*[GLOBAL VAR] Address of procedure for painting desktop or responding to clicks on desktop
hook for painting the desk [pointer]*/
GhostWindow = 0xA84, /*[GLOBAL VAR] Pointer to window never to be considered frontmost
window hidden from FrontWindow [pointer]*/
/* Text Edit Globals */
TEDoText = 0xA70, /*[GLOBAL VAR] Address of TextEdit multi-purpose routine
textEdit doText proc hook [pointer]*/
TERecal = 0xA74, /*[GLOBAL VAR] Address of routine to recalculate line starts for TextEdit
textEdit recalText proc hook [pointer]*/
TEScrpLength = 0xAB0, /*[GLOBAL VAR] Size in bytes of TextEdit scrap (long)
textEdit Scrap Length [word]*/
TEScrpHandle = 0xAB4, /*[GLOBAL VAR] Handle to TextEdit scrap
textEdit Scrap [handle]*/
TEWdBreak = 0xAF6, /*[GLOBAL VAR] default word break routine [pointer]*/
WordRedraw = 0xBA5, /*[GLOBAL VAR] (byte) - used by TextEdit RecalDraw*/
TESysJust = 0xBAC, /*[GLOBAL VAR] (word) system justification (intl. textEdit)*/
/* Resource Manager Globals */
TopMapHndl = 0xA50, /*[GLOBAL VAR] Handle to resource map of most recently opened resource file
topmost map in list [handle]*/
SysMapHndl = 0xA54, /*[GLOBAL VAR] Handle to map of system resource file
system map [handle]*/
SysMap = 0xA58, /*[GLOBAL VAR] Reference number of system resource file (word)
reference number of system map [word]*/
CurMap = 0xA5A, /*[GLOBAL VAR] Reference number of current resource file (word)
reference number of current map [word]*/
ResReadOnly = 0xA5C, /*[GLOBAL VAR] Read only flag [word]*/
ResLoad = 0xA5E, /*[GLOBAL VAR] Current SetResLoad state (word)
Auto-load feature [word]*/
ResErr = 0xA60, /*[GLOBAL VAR] Current value of ResError (word)
Resource error code [word]*/
ResErrProc = 0xAF2 /*[GLOBAL VAR] Address of resource error procedure
Resource error procedure [pointer]*/
};
enum {
SysResName = 0xAD8, /*[GLOBAL VAR] Name of system resource file (length byte followed by up to 19 characters)
Name of system resource file [STRING[19]]*/
RomMapInsert = 0xB9E, /*[GLOBAL VAR] (byte) determines if we should link in map*/
TmpResLoad = 0xB9F, /*[GLOBAL VAR] second byte is temporary ResLoad value.*/
/* Menu Mgr globals */
MBarHeight = 0xBAA, /*[GLOBAL VAR] height of the menu bar*/
/* CommToolbox Global */
CommToolboxGlobals = 0x0BB4 /*[GLOBAL VAR] pointer to CommToolbox globals */